package cn.zswltech.gruul.common.dal.vo;

import cn.zswltech.gruul.common.entity.DictionaryDO;
import cn.zswltech.gruul.common.entity.UserDO;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class UserVO extends UserDO {
    private List<OrgRoleVO.OrgVO> orgRolesName;
    private List<DictionaryDO> jobsName;
    private String token;
    private String loginTime;
    private String ipAddr;
    /**
     * 可管理的应用列表
     */
    private List<EnumsVO> systemCodeMap;


    /**
     * 不返回密码
     *
     * @return
     */
    @Override
    public String getPwd() {
        return null;
    }
}
